<?php

class Application_Model_Usuario extends Application_Model_Abstract {
	
	private $id;
	private $username;
	private $password;
	
	public function __construct($usuario = null) {
		parent::__construct($usuario);
		$this->_name = 'usuario';
		$this->_primary ='id';
		$this->_dependentTables = array('Cadastro');
	}
	
	public function getId() {
		return $this->id;
	}
	
	public function setId($id) {
		$this->id = $id;
	}
	
	public function getUsername() {
		return $this->username;
	}
	
	public function setUsername($username) {
		$this->username = $username;
	}
	
	public function getPassword() {
		return $this->password;
	}
	
	public function setPassword($password) {
		$this->password = $password;
	}	
}